package com.wiscamp.ninechapters.problems.application.dto.vo.tasks;

import com.wiscamp.ninechapters.ddd.ViewObject;
import lombok.Data;

import java.io.Serial;
import java.time.LocalDateTime;

/**
 * 分配任务
 */
@Data
public class TaskVO implements ViewObject {
    @Serial
    private static final long serialVersionUID = -8171018124956263918L;

    /**
     * 编号
     */
    private long taskId = 0;

    /**
     * 分发编号
     */
    private long assignmentId = 0;


    /**
     * 明细编号
     */
    private long detailId = 0;


    /**
     * 学员编号
     */
    private long userId = 0;

    /**
     * 习题集编号
     */
    private long setId = 0;

    private int taskStatusId = 0;

    /**
     * 完成时间
     */
    private LocalDateTime completeTime;

    private String setName = "";

    private LocalDateTime assignmentTime;

    private String userName;

    private String setTypeName;

    private int problemQuantity;

    private int totalScore;

    private int totalTimeLimit = 0;

    private int difficulty = 0;

    private String taskStatusName;

}